import tkinter as tk
from gui.main_window import MainWindow
import config

if __name__ == "__main__":
    root = tk.Tk()
    root.geometry(config.WINDOW_SIZE)
    root.title("实用工具")
    # 这行打包成exe运行会报错
    # root.iconbitmap("resources/icons/icon.ico")

    main_app = MainWindow(root)

    root.mainloop()